package com.eidos.blogs.openapi.mapper.seckill;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.eidos.blogs.openapi.dto.secKill.GenerateRedEnvelopeDto;
import com.eidos.blogs.openapi.entity.seckill.RedeReceiveRecord;
import com.eidos.blogs.openapi.thread.seckill.TaskBackHandler;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author ： Eidos
 * @date ：Created in 2021-01-12
 * @description：抢红包记录表 Mapper 接口
 * @modified By：
 * @version: 1.0
 */
@DS("chat")
@Mapper
public interface RedeReceiveRecordMapper extends BaseMapper<RedeReceiveRecord> {

    public List<RedeReceiveRecord> queryRedeReceiveRecordListByRedEnvelopeId(GenerateRedEnvelopeDto dto, TaskBackHandler<List<RedeReceiveRecord>> callback);

}
